﻿function LoginInfo() {
    var name = document.getElementById("txtUserName");
    if (name.value == "") {
        alert("登录用户名不能为空！");
        name.focus();
        return false;
    }
    var password = document.getElementById("txtPassword");;
    if (password.value == "") {
        alert("登录密码不能为空！");
        password.focus();
        return false;
    }
    window.location.href = "LoginSign.aspx?Name=" + name.value + "&Password=" + password.value;
}